This sample code has been provided to assist Macintosh software developers in supporting the Gravis MouseStick®, Gravis Mac GamePad™ and other Gravis products in their programs.
All or portions of this code may be used without royalty or license fees for supporting products manufactured or licensed by Advanced Gravis Computer Technology Ltd. This code may not be copied, distributed or used for supporting hardware products not manufactured or licensed by Advanced Gravis without specific written autorization of Advanced Gravis.
Using the following code, programmers can find the MouseStick driver, get information about it and read the information coming from the MouseStick. This will work for any earlier versions of the 3 button MouseStick* or the MouseStick II using the MouseStick II control panel software version 3.2 or later.
* Earlier version of the MouseStick must be equipped with the latest ROM version (3.3).